package com.dianning.bean;

import java.io.*;
import java.util.*;

public class Credit implements Serializable {
	private static final long serialVersionUID = 3938860373226088110L;
	
	private long id;		//主键ID
	private long uid;		//用户ID
	private String code;	//积分代码
	private int cycletype;	//奖励周期:'0'一次性,'1'每天
	private int points;		//奖励获得积分
	private int num;		//次数
	private Date addTime;	//添加时间
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public long getUid() {
		return uid;
	}
	public void setUid(long uid) {
		this.uid = uid;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public int getCycletype() {
		return cycletype;
	}
	public void setCycletype(int cycletype) {
		this.cycletype = cycletype;
	}
	public int getPoints() {
		return points;
	}
	public void setPoints(int points) {
		this.points = points;
	}
	public Date getAddTime() {
		return addTime;
	}
	public void setAddTime(Date addTime) {
		this.addTime = addTime;
	}
	public int getNum() {
		return num;
	}
	public void setNum(int num) {
		this.num = num;
	}
}
